package yf.mall.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import yf.mall.dao.SaleTypesDao;
import yf.mall.entity.SaleTypesEntity;
import yf.mall.service.SaleTypesService;
import com.yf.service.impl.BaseServiceImpl;

/**
 * 产品标签Service实现类
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Sun May 24 16:20:49 CST 2020
 */
@Service
public class SaleTypesServiceImpl extends BaseServiceImpl<SaleTypesEntity> implements SaleTypesService {

    private SaleTypesDao saleTypesDao;


    @Autowired
    public void setDao(SaleTypesDao saleTypesDao) {
        this.saleTypesDao = saleTypesDao;
        super.setBaseDao(saleTypesDao);
    }



    /**
     *
     *   @Override
     *     public List<UserVo> queryListVo(UserVo userVo) {
     *         return userDao.queryListVo(userVo);
     *     }
     *
     *     @Override
     *     public UserVo getVo(Long id) {
     *         return userDao.getVo(id);
     *     }

     @Override
     List<SaleTypesVo> queryListVo(SaleTypesVo saleTypesVo){
            return saleTypesDao.queryListVo(saleTypesVo);
     }

     @Override
     SaleTypesVo getVo(Long id){
                return saleTypesDao.getVo(id);
    }

     **/


    /**内部方法**/



    /**外部方法实现**/
    @Override
    public List<SaleTypesEntity> findAllAsc() {
        return saleTypesDao.findAllAsc();
    }



}
